package com.eastfair.builder;

import com.eastfair.builder.dto.ConstructionPersonnelDTO;
import com.eastfair.builder.dto.ReportSpaceDTO;
import com.eastfair.builder.entity.ReportSpace;
import com.eastfair.builder.vo.ConstructionPersonnelVO;
import com.eastfair.core.base.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 报馆 Feign.
 *
 * @author dqq
 * @date 2022 /8/10
 */
@FeignClient(value = "builder/constructionPersonnel")
public interface ConstructionPersonnelFeign {


    /**
     * 通过展会查人员列表
     *
     * @param constructionPersonnelDTO constructionPersonnelDTO
     * @return r
     */
    @ApiOperation(value = "通过展会查人员列表")
    @PostMapping(value = "/queryConstructionPersonnelByExhibition")
    R<List<ConstructionPersonnelVO>> queryConstructionPersonnelByExhibition(@RequestBody ConstructionPersonnelDTO constructionPersonnelDTO);
}